<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<div class="ui-widget ui-widget-content">
<div
	class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix headingTag">Links</div>
<div class="pageMenu"><c:if test="${param.pageIndex gt 1}">
	<a
		href="<c:url value="/links.do?pageIndex=${param.pageIndex-1}&pageSize=${param.pageSize}"/>">Previous&nbsp;Page</a>
</c:if>&nbsp;&nbsp;<a
	href="<c:url value="/links.do?pageIndex=${param.pageIndex+1}&pageSize=${param.pageSize}"/>">Next&nbsp;Page</a></div>

<div class="items"><c:forEach var="lnk" items="${links}">
	<div class="item">
	<div class="title"><a href="${lnk.url}" target="_blank">${lnk.name}</a></div>
	<div class="tagFlag">&nbsp;<fmt:formatDate
		value="${lnk.createdDate}" type="date" pattern="MM/dd/yyyy" />&nbsp;<c:if
		test="${not empty lnk.source}">from&nbsp;${lnk.source}
			</c:if></div>
	<div class="description">${lnk.description}</div>
	</div>
</c:forEach></div>
<div class="pageMenu"><c:if test="${param.pageIndex gt 1}">
	<a
		href="<c:url value="/links.do?pageIndex=${param.pageIndex-1}&pageSize=${param.pageSize}"/>">Previous&nbsp;Page</a>
</c:if>&nbsp;&nbsp;<a
	href="<c:url value="/links.do?pageIndex=${param.pageIndex+1}&pageSize=${param.pageSize}"/>">Next&nbsp;Page</a></div>
</div>